commit | 43d7c79aae2f839cad180bf015448a8656569d2b | [log] [tgz] |
---|---|---|
author | Marshall Clow <mclow.lists@gmail.com> | Wed Aug 15 21:19:08 2018 |
committer | Marshall Clow <mclow.lists@gmail.com> | Wed Aug 15 21:19:08 2018 |
tree | d0880bb234f4213b09efa4628838b69933af8cd0 | |
parent | a87d98049c894a8d8e03d7fd26efe6aa7d3fdf5e [diff] [blame] |
Selectively import timespec_get into namespace std, since some C libraries don't have it. Reviewed as https://reviews.llvm.org/D50799 git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@339816 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/include/ctime b/include/ctime index 81cf11a..8264fe3 100644 --- a/include/ctime +++ b/include/ctime
@@ -73,7 +73,7 @@ using ::localtime; #endif using ::strftime; -#if _LIBCPP_STD_VER > 14 && defined(_LIBCPP_HAS_C11_FEATURES) +#if _LIBCPP_STD_VER > 14 && defined(_LIBCPP_HAS_TIMESPEC_GET) using ::timespec_get; #endif